package com.wss.domain;

import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

/**
 * 视频
 */
public class Video implements Serializable{

    private Integer id;
    private String vtitle;
    private String vdesc;
    private String vurl;
    private String vcoverurl;
    private Date vtime;
    private double vprice;
    private Integer vtype_id;
    private String vthname;
    private String vtypename;
    private MultipartFile filevcover;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVtitle() {
        return vtitle;
    }

    public void setVtitle(String vtitle) {
        this.vtitle = vtitle;
    }

    public String getVurl() {
        return vurl;
    }

    public void setVurl(String vurl) {
        this.vurl = vurl;
    }

    public String getVcoverurl() {
        return vcoverurl;
    }

    public void setVcoverurl(String vcoverurl) {
        this.vcoverurl = vcoverurl;
    }

    public String getVdesc() {
        return vdesc;
    }

    public void setVdesc(String vdesc) {
        this.vdesc = vdesc;
    }

    public Date getVtime() {
        return vtime;
    }

    public void setVtime(Date vtime) {
        this.vtime = vtime;
    }

    public double getVprice() {
        return vprice;
    }

    public void setVprice(double vprice) {
        this.vprice = vprice;
    }

    public Integer getVtype_id() {
        return vtype_id;
    }

    public void setVtype_id(Integer vtype_id) {
        this.vtype_id = vtype_id;
    }

    public String getVthname() {
        return vthname;
    }

    public void setVthname(String vthname) {
        this.vthname = vthname;
    }

    public String getVtypename() {
        return vtypename;
    }

    public void setVtypename(String vtypename) {
        this.vtypename = vtypename;
    }

    public MultipartFile getFilevcover() {
        return filevcover;
    }

    public void setFilevcover(MultipartFile filevcover) {
        this.filevcover = filevcover;
    }

    @Override
    public String toString() {
        return "Video{" +
                "id=" + id +
                ", vtitle='" + vtitle + '\'' +
                ", vdesc='" + vdesc + '\'' +
                ", vurl='" + vurl + '\'' +
                ", vcoverurl='" + vcoverurl + '\'' +
                ", vtime=" + vtime +
                ", vprice=" + vprice +
                ", vtype_id=" + vtype_id +
                ", vthname='" + vthname + '\'' +
                ", vtypename='" + vtypename + '\'' +
                ", filevcover=" + filevcover +
                '}';
    }
}

